<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            padding: 0 150px;
        }
        .item{
            width: 150px;
            height: 150px;
            background-color: green;
            float: left;
        }
        .center{
            float: left;
            height: 150px;
            width: 100%;
            background-color: yellow;
        }
        .left{
            margin-left: -100%;
            position: relative;
            left:-150px
        }
        .right{
            margin-left:-150px;
            position: relative;
            right:-150px
            
        }
    </style>
</head>
<body>
    <div class="box">
         <div class="center"></div>
        <div class="left item"></div>
       
        <div class="right item"></div>
    </div>
</body>
</html>